projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23d00d4
)
* lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
author
Wolfgang Jenkner
<wjenkner@inode.at>
Mon, 29 Jun 2015 12:26:29 +0000
(14:26 +0200)
committer
Wolfgang Jenkner
<wjenkner@inode.at>
Mon, 29 Jun 2015 12:26:29 +0000
(14:26 +0200)
Otherwise `s p' of f and F will stomp on each other's value. (Bug#20916)
lisp/calc/calc-store.el
patch
|
blob
|
history
diff --git
a/lisp/calc/calc-store.el
b/lisp/calc/calc-store.el
index 11bf96455b723d92f03163abd8dd66b99b5ef7c6..91b927aad612520c9f7461b8c4ec709df121e32c 100644
(file)
--- a/
lisp/calc/calc-store.el
+++ b/
lisp/calc/calc-store.el
@@
-609,7
+609,8
@@
(defun calc-insert-permanent-variable (var)
(goto-char (point-min))
- (if (search-forward (concat "(setq " (symbol-name var) " '") nil t)
+ (if (let (case-fold-search)
+ (search-forward (concat "(setq " (symbol-name var) " '") nil t))
(progn
(setq calc-pv-pos (point-marker))
(forward-line -1)